<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
	</body>
	<script type="text/javascript">
		// 'how old are you'切割成单词
		var str = 'how old are   you|abc';
		// 大小写字母表示：[a-zA-Z]+
		console.log(str.match(/\b[a-zA-Z]+\b/g));
	</script>

</html>